package cn.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.domain.TbProduct;
import cn.domain.TbProductExample;

public interface TbProductService {
	int countByExample(TbProductExample example);

	int deleteByExample(TbProductExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(TbProduct record);

	int insertSelective(TbProduct record);

	List<TbProduct> selectByExample(TbProductExample example);

	TbProduct selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") TbProduct record, @Param("example") TbProductExample example);

	int updateByExample(@Param("record") TbProduct record, @Param("example") TbProductExample example);

	int updateByPrimaryKeySelective(TbProduct record);

	int updateByPrimaryKey(TbProduct record);
}
